package com.taojiazheng.mapper;

import com.taojiazheng.entity.Jobevaluate;
import com.taojiazheng.vo.job.JobEvaluatesVo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface JobevaluateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Jobevaluate record);

    int insertSelective(Jobevaluate record);

    Jobevaluate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Jobevaluate record);

    int updateByPrimaryKeyWithBLOBs(Jobevaluate record);

    int updateByPrimaryKey(Jobevaluate record);
    /**
     * 获取评价列表
     * 包括评价人
     */
    List<JobEvaluatesVo> getEvaluates(Integer jobId);
}